package com.qingcloud.adminbackend.pojo.dto.globalcomponentsource;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * TODO 描述
 *
 * @author yangfan
 * @since 2021/11/8 11:55
 */
@Data
public class GlobalComponentSourceDTO {

    /**
     * 自增主键 修改时传递
     */
    @ApiModelProperty(value = "自增主键",example = "1")
    private Integer id;

    @ApiModelProperty(value = "编程语言类型，编程语言类型1、java  2、python;3：jar; 4:json;  5:pic; 6:video",example = "1")
    private Integer languageType;

    /**
     * 组件ID 只是作为前端关联参数，不跟source数据库挂钩
     */
    @ApiModelProperty(value = "组件ID 只是作为前端关联参数",example = "1")
    private Integer componentId;

    /**
     * 组件ID
     */
    @ApiModelProperty(value = "文件类型(1:源码；2：路径)",example = "1")
    private Integer fileType;

    /**
     * 组件源码
     */
    @ApiModelProperty(value = "组件源码",example = "1")
    private String source;

    /**
     * 组件使用文档
     */
    @ApiModelProperty(value = "组件使用文档",example = "1")
    private String doc;

    @ApiModelProperty(value = "发布状态0未发布 1已经发布", example = "0")
    private Integer pubState;

    /**
     * 是否删除
     */
    @ApiModelProperty(value = "是否删除：0：否；1：是", example = "0")
    private Integer state;
}
